<!DOCTYPE html>  
<html>  
<head>  
    <meta charset="utf-8">  
    <title>HTML中嵌入JS代码的第一种方式</title>  
<body>  
<input type="button" value="hello" onclick="window.alert('hello,js!')"/>  
<br>  
<input type="button" value="hello" onclick='window.alert("hello,js!")'/>  
<br>  
  
</body>  
</html>